﻿using System;
using System.Collections.Generic;

using System.Text;

namespace Rance.Battle
{
    public class 获得行动点Behavior : IBehavior
    {
        public 获得行动点Behavior()
        {
            List = new List<获得行动点BehaviorDetail>();
        }

        public List<获得行动点BehaviorDetail> List { get; set; }

        public override string ToString()
        {
            StringBuilder sb = new StringBuilder();
            foreach (var item in List)
            {
                sb.Append(string.Format("    {0}获得行动点{1}:", item.角色, item.行动点));
            }

            return sb.ToString();
        }

    }

    public class 获得行动点BehaviorDetail
    {
        public 角色Struct 角色 { get; set; }
        public int 行动点 { get; set; }
    }
}
